﻿#pragma once

//实现vtk渲染窗口的功能

#include "DlgBase.h"

//单例模式  
class CreatePointDlg: public DlgBase
{
public:
    CreatePointDlg(QWidget* parent = nullptr);
    ~CreatePointDlg();

    void initUI() override;

    bool create();
    void manageConnections() override;

private:
    double m_position[3] = { 0, 5, 0 };

    //ok button
    QPushButton* m_okBtn = nullptr;

    //cancel button
    QPushButton* m_cancelBtn = nullptr;

    MyCoordinateEdit* m_positionEdit = nullptr;

};


